package com.ocom.common.request.web;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class ConsumeReportsOnShowRequest {

    @JsonProperty("comId")
    @Min(1L)
    @NotNull(message = "comId 不能为空")
    private Long comId;

    @NotEmpty(message = "开始时间 不能为空")
    private String startTime;

    @NotEmpty(message = "结束时间 不能为空")
    private String endTime;

    @NotNull(message = "page 不能为空")
    private Integer page;

    @NotNull(message = "size 不能为空")
    private Integer size;

    @NotNull(message = "报表类型 不能为空")
    private Integer reportType;

    private Integer merchId;

    private Integer pointId;

    private String deviceNo;
}
